home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-02
/
prodpack.zip
/
DB4PPSRC.EXE
/
_SETONER.PRG
< prev
next >
Wrap
Text File
|
1993-05-04
|
899b
|
29 lines
* $Header: C:/test/sysproc/doc/_setoner.prv 1.0 09 Jul 1992 22:40:30 Bill Ramos $
PROCEDURE _SetOnEr
*-----------------------------------------------------------------------
* NAME
* _SetOnEr - Set on error procedure
*
* DESCRIPTION
* _SetOnEr will set the ON ERROR routine to _F_Error if the global
* variable, _FXL_DEV, is not defined, or .F., otherwise in will
* clear the existing ON ERROR handler.
*
* GLOBAL DEPENDENCIES
* FXL_DEV, debug flag
*
*-----------------------------------------------------------------------
IF TYPE( "FXL_DEV" ) = "L" .AND. FXL_DEV
ON ERROR
ELSE
ON ERROR DO _F_Error
ENDIF
RETURN
*-- EOP: _SETONER.PRG
*-------------------------------------------------------------------------
* $Log: C:/test/sysproc/doc/_setoner.prv $
*-------------------------------------------------------------------------